﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSP.Common.Web.Providers;
using System.Web.UI;

namespace CSP.Common.Web.Factories
{
    public class UserProviderFactory
    {


        private UserProvider _userProvider;

        public UserProvider UserProvider
        {
            get { return _userProvider; }

        }

        private UserProviderFactory(Page page)
        {
            _userProvider = new UserProvider(page);
        }


        public static UserProviderFactory GetInstance(Page page)
        {
            return new UserProviderFactory(page);
        }


    }
}
